package main

import "fmt"

type Dog struct{}

func (d Dog) MakeSound() {
	fmt.Println("汪汪")
}

type Cat struct{}

func (c Cat) MakeSound() {
	fmt.Println("喵喵")
}

func main() {
	d1 := Dog{}
	d1.MakeSound()
	c1 := Cat{}
	c1.MakeSound()

}
